Class sjl.Iter
All Packages  Class Hierarchy  This Package  Previous  Next  Index

Class sjl.Iter

java.lang.Object
   |
   +----sjl.Iter

public class Iter
extends Object
Base class of all concrete iterators. It implements the common behavior that are shared between all concrete iterators.

Copyright © 1996 Finn Bock


Constructor Index

 o Iter()

Method Index

 o bidirectionalIterator()
A casting method.
 o copy(BidirectionalIterator)
Return a new copy of the parameter.
 o copy(ForwardIterator)
Return a new copy of the parameter.
 o copy(InputIterator)
Return a new copy of the parameter.
 o copy(OutputIterator)
Return a new copy of the parameter.
 o copy(RandomIterator)
Return a new copy of the parameter.
 o forwardIterator()
A casting method.
 o inputIterator()
A casting method.
 o outputIterator()
A casting method.
 o randomIterator()
A casting method.

Constructors

 o Iter
  public Iter()

Methods

 o copy
  public static InputIterator copy(InputIterator iter)
Return a new copy of the parameter.
 o copy
  public static OutputIterator copy(OutputIterator iter)
Return a new copy of the parameter.
 o copy
  public static ForwardIterator copy(ForwardIterator iter)
Return a new copy of the parameter.
 o copy
  public static BidirectionalIterator copy(BidirectionalIterator iter)
Return a new copy of the parameter.
 o copy
  public static RandomIterator copy(RandomIterator iter)
Return a new copy of the parameter.
 o inputIterator
  public InputIterator inputIterator()
A casting method. Return self as a InputIterator.
 o outputIterator
  public OutputIterator outputIterator()
A casting method. Return self as an OutputIterator, or fails with a runtime error message if this is not a output iterator.
 o forwardIterator
  public ForwardIterator forwardIterator()
A casting method. Return self as an ForwardIterator, or fails with a runtime error message if this is not a forward iterator.
 o bidirectionalIterator
  public BidirectionalIterator bidirectionalIterator()
A casting method. Return self as an BidirectionaIterator, or fails with a runtime error message if this is not a bidirectional iterator.
 o randomIterator
  public RandomIterator randomIterator()
A casting method. Return self as an RandomIterator, or fails with a runtime error message if this is not a random iterator.

All Packages  Class Hierarchy  This Package  Previous  Next  Index